<?php
/**
 * Created by PhpStorm.
 * User: Hello pan
 * Date: 9/14/25
 * Time: 11:21 AM
 */

namespace app\services;

use yii\base\Component;

class LogService extends Component
{

    public function record($res)
    {
        // 这里做日志记录 操作


        // 触发事件
//        $this->on('hello_event','trim');
//        $this->on('hello_event',[$this,'trim']);
//        $this->on('hello_event',['LogService','getAdd']);

    }

    public function getAdd()
    {

    }
}